home *** CD-ROM | disk | FTP | other *** search
/ 8bitfiles.net/archives / archives.tar / archives / compuserve-file-archive / 05 Programming / BFEDIT.TXT < prev    next >
Text File  |  2019-04-13  |  3KB  |  89 lines

  1.  
  2.              Blazin' Forth Editor
  3.                          ====================
  4.  
  5. Line Commands
  6. =============
  7.  
  8. ( Note: _ represents a blank, __ represents two blanks, etc. )
  9.  
  10. T (n -- )       Types the line
  11.  
  12. P ( -- )        Copies the given string into the insert buffer, then
  13. P__ or          puts a copy of the insert buffer in the current line.
  14. P xxx
  15.  
  16. U ( -- )        Copies the given string into the insert buffer, then puts
  17. U__ or          a copy of the insert buffer under the current line.
  18. U xxx
  19.  
  20. M (block line --) Copies the current line into the insert buffer
  21.                 and moves a copy of the insert buffer into the line under
  22.                 the specified line in the destination block.
  23.  
  24. x ( -- )        Copies the current line into the insert buffer and extracts
  25.                 the line from the block.
  26.  
  27. String Operators
  28. ================
  29.  
  30. F or    ( -- )  Copies the given string into the find buffer, then
  31. F xxx           finds the string in the current block.
  32.  
  33. S or   ( n -- ) Copies the given string into the find buffer, then
  34. S xxx           searches the range of blocks, starting from the current
  35.                 block and edning with n-1    for the string.
  36.  
  37. E       ( -- )  To be used after F. Erase as many characters as are
  38.                 currently in the find buffer, going backwards from
  39.                 the cursor
  40.  
  41. D or    ( -- )  Copies the given string into the find buffer, then 
  42. D xxx           deletes all characters starting from the current line
  43.                 and deletes it.
  44.  
  45. TILL or ( -- )  Copies the given string into the find buffer, then deletes
  46. TILL xxx        all characters starting from the current cursor position
  47.                   up TILL and including the string.
  48.  
  49. I or    ( -- )  Copies the given string into the insert buffer, then
  50. I xxx           inserts the contents of the insert buffer at the point
  51.                 just behind the cursor.
  52.  
  53. R or    ( -- )  Combines the commands E and I to replace a found string
  54. R xxx           with a given string or the contents of the insert
  55.                 buffer.
  56.  
  57. BLOCK OPERATORS
  58. ===============
  59.  
  60. N       ( --  ) Selects the next block, and leaves its block number on
  61.                 the stac    
  62.  
  63. B       ( --  ) Selects the block BEHIND current, and leaves its block
  64.                 number on the stack.
  65.  
  66. L       ( -- )  Lists the current block
  67.  
  68.  
  69. TIPS
  70. ====
  71.  
  72. LIST a block, if it's new, use WIPE (or w) to clear it.
  73.  
  74. You can use T to type the line and make it current, i.e.
  75.  
  76. 10 T
  77.  
  78. Types line 10, and makes it current.
  79.  
  80. P FOO
  81.  
  82. Will put FOO on the current line,
  83.  
  84. U FOO
  85.  
  86. Will put FOO under the current line, and make it the new current line.
  87. All lines below that will be pushed down. Bottom line scrolls off.
  88.      deletes the current line, all lines below it move up.
  89.